<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>{% block title %}Chrome Monitor{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
    <script src="/static/js/prettify.js"></script>
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }

      @media (max-width: 980px) {
        /* Enable use of floated navbar text */
        .navbar-text.pull-right {
          float: none;
          padding-left: 5px;
          padding-right: 5px;
        }
      }

      #branding {
        margin-left: 0;
      }

      #beta {
        position: relative;
        top: -10px;
        font-size: 11pt;
      }
    </style>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/bootstrap-responsive.css" rel="stylesheet">
    {% block head %}{% endblock %}
  </head>
  <body>
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div id='navbar-container' class="container-fluid">
          <button type="button" class="btn btn-navbar"
              data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a id="branding" class="brand" href="/">
            Chrome Monitor<small id='beta'>Beta</small>
          </a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              {% for crumb, link in breadcrumbs %}
                {% if loop.last %}
                  <li class="active">
                {% else %}
                  <li>
                {% endif %}
                  <a href="{{link}}">{{crumb}}</a>
                </li>
              {% endfor %}
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
    <div id="main-container" class="container-fluid">
      {% block body %}{% endblock %}
      {% block footer %}
      <div class="row">
        <hr>
        <div class="span4">
          {% block sub_footer %}{% endblock sub_footer %}
        </div>
        <div class="span2 pull-right">
        <span class="pull-right">
          <a href="https://code.google.com/p/chromium/issues/entry?template=Build%20Infrastructure&comment=This+is+a+user+reported+issue+with+the+new+build.chromium.org+interface.&summary=One+liner+issue+description+here">
            Report an issue
          </a>
        </span>
        <img alt="Chrome" data-g-event="nav-logo" data-g-label=
          "consumer-home" id="logo" src=
          "http://www.google.com/intl/en/chrome/assets/common/images/chrome_logo_2x.png">
        </div>
      </div>
      {% endblock %}
    </div>

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-55762617-9', {'siteSpeedSampleRate': 100});
      ga('send', 'pageview');

    </script>
  </body>
</html>
